package com.nexus.all.es.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;

/**
 * es笔记的实体
 */
@Data
@EqualsAndHashCode
public class EsNoteContent implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    /**
     * 笔记内容
     */
    @Field(type = FieldType.Keyword)
    private String content;

    private String contentIms;

    private String merchant;

    private String menuCommand;
}
